package com.sunlake.spring.main.model.auth.dto;

import lombok.Data;

@Data
public class UpdateDTO {
    private Integer userId;
    private String username;
    private String email;
    private String role;
    private String status;
    private String refreshToken;
    private boolean allowComment;
    private boolean allowPost;

    public UpdateDTO(Integer userId, String username, String email, String role, String status, String refreshToken, boolean allowComment, boolean allowPost) {
        this.userId = userId;
        this.username = username;
        this.email = email;
        this.role = role;
        this.status = status;
        this.refreshToken = refreshToken;
        this.allowComment = allowComment;
        this.allowPost = allowPost;
    }

}
